package HomeWOrk2;

import java.util.Collections;
import java.util.LinkedHashSet;

public class test4 {
    public static void main(String[] args) {
        LinkedHashSet<Integer> linkedHashSet = new LinkedHashSet<>();
        Collections.addAll(linkedHashSet,20,30,50,10,30,20);
        for (Integer integer : linkedHashSet) {
            if (integer > 25) {
                System.out.println(integer);
            }
        }
    }
}
